/*
 *  Canon.h
 *  Rempart
 *
 *
 */



#ifndef __CANON
#define __CANON


class Canon;
#include "WeaponObject.h"
#include "GUI.h"

extern sf::Mutex globalLock;


class Canon : public WeaponObject{

private:
	sf::Sprite* canonSprite;
	sf::Sprite* tubeSprite;
	void  targetCurrentCase() const;
	
public:
	void Render(sf::RenderTarget& Target) const;
	Canon();
	~Canon();
	void resetDefaultSurface();
};

#endif